﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Silvermoon.Controls.Interfaces
{
    /// <summary>
    /// Decorates a <see cref="T:ItemBase"/> to support lens view.
    /// </summary>
    public interface ILensItem
    {
        /// <summary>
        /// Gets the item that is used when the decorated item is inside the lens area of a <see cref="T:LensView"/>.
        /// See also <seealso cref="T:LensView"/>.
        /// </summary>
        ItemBase LensItem { get; }

        /// <summary>
        /// Occurs when the item is added into the lens.
        /// </summary>
        void AddedToLens();

        /// <summary>
        /// Occurs when the item is removed from the lens.
        /// </summary>
        void RemovedFromLens();
    }
}
